package com.kintreda.ieco_server.bean.system;

import org.hibernate.annotations.Type;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.bean.system
 * @Author ZhongYao_H
 * @Date 2019/5/21:19:14
 * @Year 2019 Month 05 Day 21
 * @Date_zh 2019 年 五月 星期二
 */
@Entity
@Table(name = "autoreply")
public class KeyWord extends BaseVo {

    /**
     * 0其他 1可回收 2 不可回收
     */
    String typeA;
    /**
     * 类型  0  PET瓶 1 PE瓶 2 泡沫 3 硬质塑料 4 塑料袋膜 5 织物 6 玻璃
     * 7 复合 8 电子电器 9 书报  10 综合纸 11 金属 12 铝拉罐 13 黄纸板
     * -1 干垃圾 -3 湿垃圾 -4有害垃圾
     */
    String typeB;
    String typeC; //-1 否 -2 是
    String type;
    String keyword;
    String price;
    String unit;
    @Type(type = "text")
    String body;

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getTypeC() {
        return typeC;
    }

    public void setTypeC(String typeC) {
        this.typeC = typeC;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTypeA() {
        return typeA;
    }

    public void setTypeA(String typeA) {
        this.typeA = typeA;
    }

    public String getTypeB() {
        return typeB;
    }

    public void setTypeB(String typeB) {
        this.typeB = typeB;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
